package com.threadPool;

public class ThrowRejectHandle implements RejectHandle{
    @Override
    public void reject(Runnable rejectRunnable, MyThreadPool myThreadPool) {
        throw new RuntimeException("The task queue is full");
    }
}
